package cn.kgc.itrip.search.dao;

import cn.kgc.itrip.search.entity.HotelSearchVO;
import org.apache.solr.client.solrj.SolrQuery;

import java.util.List;
import java.util.Map;

public interface SearchHotelDao {

    //查询总的记录数
    long getHotelCount(SolrQuery solrQuery)throws Exception;
    //查询集合
    List<HotelSearchVO> getHotelListForPaging(SolrQuery solrQuery)throws Exception;
    //根据条件查询酒店列表
    List<HotelSearchVO> getHotelListByParams(Map<String, Object> map)throws Exception;

}
